#g-detail {
  background-color: #F9F9F9;
}

#g-detail .thumb {
  width: 100%;
  height: 750rpx;
  position: relative;
}

#g-detail .thumb .shop-swiper {
  width: 100%;
  height: 100%;
}

#g-detail .thumb .shop-swiper .wx-swiper-dot {
  width: 30rpx;
  height: 6rpx;
  border-radius: 3rpx;
}

#g-detail .thumb .shop-swiper .wx-swiper-dots-horizontal {
  bottom: 50rpx;
}

#g-detail .thumb .shop-swiper image {
  width: 100%;
  height: 100%;
}

#g-detail .thumb .act {
  height: 72rpx;
  background-color: #ff4247;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32rpx;
}

#g-detail .thumb .act .left {
  display: inline-flex;
  align-items: center;
}

#g-detail .thumb .act .left text {
  font-size: 28rpx;
  line-height: 28rpx;
  color: #fff;
}

#g-detail .thumb .act .left image {
  height: 30rpx;
  margin-left: 13rpx;
  display: block;
}

#g-detail .thumb .act .right {
  display: inline-flex;
  align-items: center;
}

#g-detail .thumb .act .right .text {
  color: #fff;
}

#g-detail .thumb .act .right .time {
  min-width: 190rpx;
  margin-left: 16rpx;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

#g-detail .thumb .act .right .time view {
  display: inline-block;
  min-width: 52rpx;
  height: 32rpx;
  line-height: 32rpx;
  background-color: #000;
  color: #fff;
  padding: 0 4rpx;
  font-size: 28rpx;
  text-align: center;
  border-radius: 4rpx;
}

#g-detail .thumb .act .right .time text {
  font-size: 28rpx;
  line-height: 32rpx;
  color: #fff;
  margin: 0 4rpx;
}

#g-detail .info {
  background-color: #fff;
  padding: 44rpx 30rpx;
  margin-bottom: 16rpx;
}

#g-detail .info .title {
  font-size: 36rpx;
  line-height: 46rpx;
  font-weight: bold;
  margin-bottom: 17rpx;
}

#g-detail .info .content {
  font-size: 22rpx;
  color: #999999;
  line-height: 38rpx;
  margin-bottom: 50rpx;
  padding: 0;
}

#g-detail .info .del {
  font-size: 24rpx;
  color: #999999;
}

#g-detail .info .del text {
  text-decoration: line-through;
}

#g-detail .info .p-s {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#g-detail .info .p-s .right {
  display: flex;
  align-items: flex-end;
}

#g-detail .info .p-s .label {
  display: inline-block;
  padding: 0 13rpx;
  height: 36rpx;
  border-radius: 8rpx;
  line-height: 36rpx;
  color: #fff;
  background-color: #ff4246;
  font-size: 24rpx;
  margin-right: 12rpx;
}

#g-detail .info .p-s .price {
  color: #e5373b;
  font-size: 28rpx;
  font-weight: bold;
  margin-right: 50rpx;
  position: relative;
  bottom: -2rpx;
}

#g-detail .info .p-s .price .price__price {
  position: relative;
  bottom: -4rpx;
}

#g-detail .info .p-s .price text {
  font-size: 40rpx;
  line-height: 40rpx;
}

#g-detail .info .p-s .price .h {
  font-weight: normal;
  font-size: 24rpx;
  color: #333333;
}

#g-detail .info .p-s .sale {
  flex-shrink: 0;
  margin-left: 8rpx;
  font-size: 24rpx;
  color: #666666;
}

#g-detail .line {
  height: 80rpx;
  background-color: #fff;
  padding: 0 32rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#g-detail .line .label {
  white-space: nowrap;
  width: 100rpx;
  flex-shrink: 0;
  font-size: 24rpx;
  color: #999;
}

#g-detail .line .right {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

#g-detail .line .right .labels {
  width: 440rpx;
  overflow: hidden;
}

#g-detail .line .right .labels view {
  display: inline-block;
  height: 48rpx;
  line-height: 48rpx;
  border-radius: 24rpx;
  padding: 0 20rpx;
  background-color: #ffebeb;
  color: #e5373b;
  font-size: 24rpx;
}

#g-detail .line .right .text {
  font-size: 24rpx;
}

#g-detail .line .right .r-arrow {
  display: inline-flex;
  align-items: center;
}

#g-detail .line .right .r-arrow text {
  font-size: 24rpx;
  color: #e5373b;
}

#g-detail .line .right .r-arrow text {
  font-size: 24rpx;
  color: #ccc;
  margin-left: 12rpx;
}

#g-detail .content {
  width: 100%;
  padding: 20rpx 0;
  background-color: #fff;
}

#g-detail .content image {
  width: 100%;
  max-width: 100%;
}

#g-detail .fun-bar {
  width: 100%;
  height: calc(116rpx + constant(safe-area-inset-bottom));
  height: calc(116rpx + env(safe-area-inset-bottom));
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  background: #FFFFFF;
  display: inline-flex;
  box-shadow: 0rpx 7rpx 16rpx 0rpx rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding-left: 32rpx;
  padding-right: 32rpx;
  box-sizing: border-box;
}

#g-detail .fun-bar .left {
  display: flex;
  flex-shrink: 0;
}

#g-detail .fun-bar .left .item {
  display: block;
  width: 50%;
  text-align: center;
  background: transparent;
}

#g-detail .fun-bar .left .item + .item {
  margin-left: 56rpx;
}

#g-detail .fun-bar .left .item text {
  display: block;
  font-size: 32rpx;
  line-height: 32rpx;
  color: #666;
}

#g-detail .fun-bar .left .item .item-icon {
  width: 42rpx;
  height: 42rpx;
}

#g-detail .fun-bar .left .item view {
  text-align: center;
  font-size: 24rpx;
  line-height: 1;
  color: #333333;
  margin-top: 10rpx;
  white-space: nowrap;
}

#g-detail .fun-bar .left .item.active text {
  color: #e5373b;
}

#g-detail .fun-bar .right .btns {
  width: 100%;
  height: 100rpx;
  display: flex;
  align-items: center;
}

#g-detail .fun-bar .right .btns .btn {
  width: 220rpx;
  text-align: center;
  line-height: 90rpx;
  background: #F65C28;
  color: #fff;
  border-radius: 10rpx;
}

#g-detail .fun-bar .right .btns .btn.cart {
  border: 1px solid #F65C28;
  background-color: #fff;
  color: #F65C28;
}

#g-detail .fun-bar .right .btns .btn.buy {
  margin-left: 24rpx;
}

#g-detail .fun-bar .right .long {
  width: 510rpx;
  height: 80rpx;
  margin-right: 32rpx;
  border-radius: 40rpx;
  color: #fff;
  background-image: linear-gradient(to right, #ee4246, #ef393b);
  box-shadow: 0 10rpx 10rpx rgba(238, 67, 70, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#g-detail .fun-bar .right .long .price {
  width: 100%;
  text-align: center;
}

#g-detail .fun-bar .right .long .center-i {
  display: block;
  width: 1rpx;
  height: 37rpx;
  background-color: #cf2b2e;
  transform: rotate(30deg);
  flex-shrink: 0;
}

#g-detail .fun-bar .right .long .btn {
  width: 100%;
  text-align: center;
}

#g-detail .fun-bar-h {
  width: 100%;
  height: 100rpx;
}

#g-detail .mask {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
}

#g-detail .mask.mask-show {
  display: block;
}

#g-detail .sku-modal {
  max-height: 819rpx;
  background-color: #fff;
  border-radius: 16rpx 16rpx 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 32rpx 32rpx;
  transform: translateY(100%);
  transition: all 0.3s;
}

#g-detail .sku-modal.open {
  transform: translateY(0);
}

#g-detail .sku-modal .goods {
  width: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 32rpx;
  border-bottom: 1px solid #f0f0f0;
}

#g-detail .sku-modal .goods .img {
  width: 164rpx;
  height: 164rpx;
  border-radius: 8rpx;
  overflow: hidden;
  flex-shrink: 0;
}

#g-detail .sku-modal .goods .img image {
  width: 100%;
  height: 100%;
}

#g-detail .sku-modal .goods .text {
  width: 100%;
  margin-left: 24rpx;
}

#g-detail .sku-modal .goods .text .prices {
  width: 100%;
}

#g-detail .sku-modal .goods .text .prices .price {
  display: inline-block;
  font-size: 20rpx;
  color: #e5373b;
}

#g-detail .sku-modal .goods .text .prices .price text {
  font-size: 40rpx;
  line-height: 40rpx;
}

#g-detail .sku-modal .goods .text .prices .del {
  display: inline-block;
  font-size: 24rpx;
  color: #999;
  margin-left: 10rpx;
  text-decoration: line-through;
}

#g-detail .sku-modal .goods .text .stock {
  font-size: 24rpx;
  color: #999;
  margin-top: 18rpx;
}

#g-detail .sku-modal .goods .text .ed {
  font-size: 24rpx;
  color: #999;
  margin-top: 4rpx;
}

#g-detail .sku-modal .scroll {
  width: 100%;
  padding: 20px 0;
  max-height: 454rpx;
  overflow-y: auto;
}

#g-detail .sku-modal .scroll::-webkit-scrollbar {
  display: none;
}

#g-detail .sku-modal .sku-item {
  width: 100%;
  margin-top: 26rpx;
}

#g-detail .sku-modal .sku-item .title {
  font-size: 28rpx;
}

#g-detail .sku-modal .sku-item .items {
  width: 100%;
  overflow: hidden;
}

#g-detail .sku-modal .sku-item .items view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 36rpx;
  margin-top: 20rpx;
  margin-right: 20rpx;
  height: 48rpx;
  border-radius: 24rpx;
  background-color: #f0f0f0;
  border: 1px solid #f0f0f0;
  font-size: 28rpx;
}

#g-detail .sku-modal .sku-item .items view.active {
  background-color: #ffebeb;
  border: 1px solid #f5a3a5;
  color: #e5373b;
}

#g-detail .sku-modal .close {
  display: block;
  width: 24rpx;
  line-height: 24rpx;
  position: absolute;
  top: 40rpx;
  right: 32rpx;
}

#g-detail .sku-modal .close text {
  font-size: 24rpx;
  line-height: 32rpx;
}

#g-detail .sku-modal .quantity {
  width: 100%;
  margin-top: 24rpx;
  margin-bottom: 24rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#g-detail .sku-modal .quantity .title {
  white-space: nowrap;
}

#g-detail .sku-modal .btns {
  width: 100%;
  height: 100rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 30rpx;
}

#g-detail .sku-modal .btns .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 335rpx;
  height: 80rpx;
  border-radius: 40rpx;
  font-size: 28rpx;
}

#g-detail .sku-modal .btns .btn.cart {
  border: 1px solid #e5a3a5;
  color: #e5373b;
}

#g-detail .sku-modal .btns .btn.buy {
  background-color: #ee4346;
  color: #fff;
  box-shadow: 0 10rpx 10rpx rgba(238, 67, 70, 0.3);
}

#g-detail .coupon-modal {
  height: 754rpx;
  background-color: #fff;
  border-radius: 16rpx 16rpx 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 32rpx 32rpx 0;
  transform: translateY(100%);
  transition: all 0.3s;
}

#g-detail .coupon-modal.open {
  transform: translateY(0);
}

#g-detail .coupon-modal .mod {
  font-size: 32rpx;
  width: 100%;
  height: 48rpx;
  line-height: 48rpx;
  text-align: center;
}

#g-detail .coupon-modal .list {
  width: 100%;
  height: 650rpx;
  margin-top: 24rpx;
  overflow-y: auto;
}

#g-detail .coupon-modal .list .item {
  width: 686rpx;
  height: 186rpx;
  margin-bottom: 24rpx;
  position: relative;
}

#g-detail .coupon-modal .list .item .coupon-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#g-detail .coupon-modal .list .item .coupon-background image {
  width: 100%;
  height: 100%;
}

#g-detail .coupon-modal .list .item .tops {
  position: absolute;
  display: flex;
  width: 686rpx;
  height: 186rpx;
}

#g-detail .coupon-modal .list .item .tops .left {
  width: 482rpx;
  padding: 42rpx 32rpx;
}

#g-detail .coupon-modal .list .item .tops .left .discount {
  font-size: 32rpx;
  font-weight: bold;
  color: #4f442f;
}

#g-detail .coupon-modal .list .item .tops .left .date {
  background-color: #edd5b2;
  height: 40rpx;
  border-radius: 20rpx;
  padding: 0 16rpx;
  margin-top: 4rpx;
  font-size: 22rpx;
  line-height: 40rpx;
}

#g-detail .coupon-modal .list .item .tops .right {
  width: 204rpx;
  padding: 36rpx 10rpx;
  text-align: center;
}

#g-detail .coupon-modal .list .item .tops .right .price {
  font-size: 28rpx;
  color: #e5373b;
}

#g-detail .coupon-modal .list .item .tops .right .price text {
  font-size: 48rpx;
  line-height: 48rpx;
  font-weight: bold;
}

#g-detail .coupon-modal .list .item .tops .right .btn {
  display: block;
  width: 160rpx;
  height: 48rpx;
  border-radius: 24rpx;
  background-color: #413621;
  color: #fbdfac;
  font-size: 24rpx;
  line-height: 48rpx;
  text-align: center;
  margin: 0 auto;
}

#g-detail .coupon-modal .list .item .tops .right .btn.disabled {
  opacity: 0.5;
}

#g-detail .coupon-modal .close {
  display: block;
  width: 24rpx;
  line-height: 24rpx;
  position: absolute;
  top: 40rpx;
  right: 32rpx;
}

#g-detail .coupon-modal .close text {
  font-size: 24rpx;
  line-height: 32rpx;
}
